package com.swinw.asumall.cart.fegin;

import com.swinw.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "product-service")
public interface ProductFeignService {
    @RequestMapping("/product/skuinfo/info/{skuId}")
    public R getSkuInfo(@PathVariable("skuId") Long skuId);

    @RequestMapping("/product/skusaleattrvalue/getSkuSaleAttrValue/{skuId}")
    public R getSkuSaleAttrValue(@PathVariable("skuId") Long skuId);
}
